package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.Role;

import java.util.List;

public interface RoleService {
    List<Role> findAll();

    void add(Integer userId,Integer[] roleIds);

    PageResult pageQuery(QueryPageBean queryPageBean);

    void editPermission(Integer roleId, Integer[] permissionIds);

    void addRole(Role role);
}
